package hardfood.cnblogs;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public class RunSun extends JavaPlugin{
    public static JavaPlugin instance;
    @Override
    public void onLoad() {
        getLogger().info("Load RunWithDat Successfully!");

        saveDefaultConfig();
    }
    @Override
    public void onDisable() {
    }
    @Override
    public void onEnable() {
        Bukkit.getPluginManager().registerEvents(new EventListener(), this);
        instance = this;
        // 小技巧：暴露实例
    }

}
